#define _CRT_SECURE_NO_WARNINGS 1
#include"sort.h"
void testInsert1()
{
	int a[] = { 3,5,1,6,2,3,7,9,0,8 };
   //InsertSort(a, sizeof(a) / sizeof(int));
	BubblesSort(a, sizeof(a) / sizeof(int));
   //ShellSort(a, sizeof(a) / sizeof(int));
   PrintArray(a, sizeof(a) / sizeof(int));
}
void testInsert2()
{
	int a[] = { 6,1,2,7,9,3,4,5,10,8 };
	QuickSort(a, 0,sizeof(a) / sizeof(int)-1);
	PrintArray(a, sizeof(a) / sizeof(int));
}
int main()
{
	testInsert2();

	return 0;
}